import { Farm } from "./farm.model";
export class UserFarm {
    
    /**
     * Creates an instance of UserFarm.
     * @param {number} userId 用户ID
     * @param {number} farmId 风场ID
     * @param {boolean} unDefault 是否默认   
     * @param {string} [farmName] 风场名称   
     * @memberof UserFarm
     */
    constructor(      
        
        public farmId: number,     
        public unDefault?: boolean,
        public userId?: number,          
        public farmName?: string,          
    ) {
        Object.defineProperty(this, "farmName", { enumerable: false });
    }
}



// WEBPACK FOOTER //
// ./src/app/entity/user-farm.model.ts